<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="lib/assets/css/jquery-ui.custom.css" />
<link rel="stylesheet" href="lib/assets/css/chosen.css" />
<link rel="stylesheet" href="lib/assets/css/datepicker.css" />
<link rel="stylesheet" href="lib/assets/css/bootstrap-timepicker.css" />
<link rel="stylesheet" href="lib/assets/css/daterangepicker.css" />
<link rel="stylesheet"
	href="lib/assets/css/bootstrap-datetimepicker.css" />
<link rel="stylesheet" href="lib/assets/css/colorpicker.css" />
<link rel="stylesheet" href="css/align.css" />
</head>

<title>新增日报</title>


<div class="page-header">
    <h1>
        日报登录
        <small>
            <i class="ace-icon fa fa-angle-double-right"></i>
            新增日报
        </small>
    </h1>

</div>


<div class="row">
	<div class="col-xs-12">
		<div class="row">
			<div class="col-xs-8">
				<div class="widget-box">
				
					<div class="widget-header">
						 <h4 class="widget-title">新增日报</h4>
					</div>
					
					
				
					<form method="POST" id="dr_create_form">
						
					<div class="alert_div alert alert-success alert-dismissible fade in" role="alert">
		                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
		                    <strong class="show_ms"></strong>
            	    </div>
				
						
						<div class="widget-body" style="display: block;">
	                        <div class="widget-main">
	                            
	                            <div class="row">
	                                <div class="col-xs-4">
	                                    <label for="id-date-picker-1">日期</label>
	                                    <div class="input-group">
	                                        <input class="form-control date-picker dr_create_date" id="id-date-picker-1" type="text"
	                                               data-date-format="yyyy-mm-dd" name="dr_create_date" readonly/>
												<span class="input-group-addon">
													<i class="fa fa-calendar bigger-110"></i>
												</span>
	                                    </div>
	                                    <hr/>
	                                </div>
	                                <div class="col-xs-4">
	                                   <label class="control-label" for="form-field-1">加班</label>
	                                    <input type="text" id="form-field-1" placeholder="" class="form-control dr_create_ot_time" value="" name="dr_create_ot_time" />
	                                </div>
	                                 <div class="col-xs-4">
	                                   <label class="control-label" for="form-field-1">工作量</label>
	                                    <input type="text" id="form-field-1" placeholder="" class="form-control dr_create_work_time" value="" name="dr_create_work_time"/>
	                                </div>
	                            </div>
	
	                            <div class="row">
	                                <div class="col-xs-6">
	                                    <label for="form-field-select-1">项目</label>
	
	                                    <select class="form-control dr_create_proj" id="form-field-select-1" name="dr_create_proj">
	                                        <!-- proj_id -->
											<option value="0" selected></option>
	                                    </select>
	                                    <hr/>
	                                   
	                                </div>
	                                <div class="col-xs-6">
	                                    <label for="form-field-select-1">PRP阶段</label>
	
	                                    <select class="form-control dr_create_prp" id="form-field-select-2" name="dr_create_prp">
	                                        <!-- prp3 -->
	                                    </select>
	                                    <hr/>
	                                </div>
	                            </div>
	
	                            <div class="row">
	                                <div class="col-xs-12">
	                                <label class="control-label" for="form-field-1">任务</label>
	
	                                <textarea spellcheck="false" id="renwu" style="width: 100%; height: 200px;" class="dr_create_task" name="dr_create_task"></textarea>
	                                </div>
	                            </div>
	                            
	                            <div class="row">
	                                <div class="col-xs-12">
	                                    <label class="control-label" for="form-field-1">明日计划</label>
	
	                                    <textarea spellcheck="false" id="renwu" style="width: 100%; height: 200px;" class="dr_create_plan" name="dr_create_plan"></textarea>
	                                </div>
	                            </div>
	                            
	                            <div class="row">
	                            	<span class="widget-toolbar">
                                   			 <input class="submit btn btn-xs" type="submit" value="新增">
                               				 <a class="btn btn-xs dr_create_reset" >重置</a>
                              	    </span>
	                            </div>
	
			                </div>
						</div>
				</form>
				
				
				
			</div>
		</div>
	</div>
	
	<div class="alert_container row col-xs-8"></div>

</div>
</div>

<script type="text/javascript" src="js/jquery.validate.min.js"></script>
<script type="text/javascript" src="js/dr.new.js"></script>
<script type="text/javascript">
var scripts = [ null, "lib/assets/js/jquery.validate.js",
    			"lib/assets/js/jquery-ui.custom.js",
    			"lib/assets/js/jquery.ui.touch-punch.js",
    			"lib/assets/js/chosen.jquery.js",
    			"lib/assets/js/fuelux/fuelux.spinner.js",
    			"lib/assets/js/date-time/bootstrap-datepicker.js",
    			"lib/assets/js/date-time/bootstrap-timepicker.js",
    			"lib/assets/js/date-time/moment.js",
    			"lib/assets/js/date-time/daterangepicker.js",
    			"lib/assets/js/jquery.inputlimiter.1.3.1.js",
    			"lib/assets/js/jquery.maskedinput.js",
    			"lib/assets/js/bootstrap-tag.js", null ]
	
	$('.page-content-area').ace_ajax('loadScripts', scripts, function() {
		//inline scripts related to this page
		jQuery(function($) {
			$(".date-picker").datepicker({
				autoclose: true,
				todayHighlight: true,
				endDate:"0d"
			})
			//show datepicker when clicking on the icon
			.next().on(ace.click_event, function(){
				$(this).prev().focus();
			});
		})
	});
</script>